<?
include('bbcode-parser.php');
$text = $_POST['data'];
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251;" />
<title></title>
<link rel="stylesheet" type="text/css" href="~/templates/preview.css" />
</head>
<body>
<?
echo BBCode2Html($text);
?>
</body>
</html>
